package com.yazi.mxz.behavior.entity.repository;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * url访问日志
 * @author mo_yq5
 * @date 2015-9-7
 */
@Document
public class AccessLog implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Indexed
	private Long id;
	private Long cookie;
	private String url;
	private Integer urlType;
	private Long dateTime;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCookie() {
		return cookie;
	}
	public void setCookie(Long cookie) {
		this.cookie = cookie;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getUrlType() {
		return urlType;
	}
	public void setUrlType(Integer urlType) {
		this.urlType = urlType;
	}
	public Long getDateTime() {
		return dateTime;
	}
	public void setDateTime(Long dateTime) {
		this.dateTime = dateTime;
	}
}
